package com.wnzt.baszh.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wnzt.baszh.core.base.Page;
import com.wnzt.baszh.dao.IDicDao;
import com.wnzt.baszh.service.IDicService;

@Service
public class DicServiceImpl implements IDicService {
	
	@Autowired
	private IDicDao dao;

	@Override
	public Page findICD11code(String param, int pageNum, int pageSize) {
		Page page=new Page();
		page.setRows(dao.findICD11code(param,pageNum,pageSize));
		page.setTotal(dao.findICDTotal(param));
		return page;
	}

	@Override
	public Page findTOPERATET(String param, int pageNum, int pageSize) {
		Page page=new Page();
		page.setRows(dao.findTOPERATEcode(param,pageNum,pageSize));
		page.setTotal(dao.findTOPERATETotal(param));
		return page;
	}

	@Override
	public List findStandardByCode(String code) {
		return dao.findStandardByCode(code);
	}

	public List findTworkroom() {
		return dao.findTworkroom();
	}

	@Override
	public List findBambMx(String mainid) {
		return dao.findBambMx(mainid);
	}


}
